package com.neo.springcloud.alibaba.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @ClassName: StorageDao
 * @Title: cloud2021
 * @Package: com.neo.springcloud.alibaba.dao
 * @Description:
 * @Author: Kisen
 * @Date: 2021/11/25 22:04
 */
@Mapper
public interface StorageDao {

    //扣减库存
    int decrease(@Param("productId") Long productId, @Param("count") Integer count);
}
